package com.go.where.manager.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.go.where.manager.dao.TeacherDao;
import com.go.where.manager.pojo.TeacherInfo;

@Repository("teacherDao")
public class TeacherDaoImpl extends BaseDaoImpl<TeacherInfo> implements
		TeacherDao {

	@Override
	protected String getNameSpace() {
		return "mybatis.xml.TeacherMapper";
	}

	@Override
	public List<TeacherInfo> queryAll() {
		return getSqlSession().selectList(getNameSpace() + ".queryAll");
	}

}
